package hub.cathome.service;


import hub.cathome.entity.ResourceLink;

import java.util.List;

public interface ResourceService {
    int insertResourceLink(ResourceLink resourceLink);
    int updateResourceLink(ResourceLink resourceLink);
    int deleteResourceLink(Integer id);
    String getResourceLinkPathById(Integer id);
    ResourceLink getResourceLinkById(Integer id);
    ResourceLink getResourceLinkByPath(String resourcepath);
    List<ResourceLink> getRecordResourceLinkByCatId(Integer catId);
    List<ResourceLink> getShotBlogResourceLinkByShotBlogId(Integer shotBlogId);
    String getApplicationPath();
    int deleteAllResourceLinkByShotBlogId(Integer shotBlogId);
    List<ResourceLink> getResourceLinkByUserId(Integer userId);
}
